<?php
namespace Mob \ Model;

use Think \ Model;
use Think \ Hook;
/**地理模型
 * Class InfoModel
 */

require_once ('./Application/Mob/Common/function.php');

class PositionModel extends Model {

	public function Record()
	{

     $data['Uid'] = (get_uid()>0)?get_uid():0;   //取用户UID信息。
     $latitude = I('latitude');
     $longitude = I('longitude');
     $data['channel'] = I('channel',1);
     $data['ext'] = I('ext',null);
     return  $this->add($data);

	}











}